<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>JSpider Library: src/main/java/com/spider/jspiderlibrary2/Communicator.java Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSpider Library
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">src/main/java/com/spider/jspiderlibrary2/Communicator.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_communicator_8java.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="namespacecom_1_1spider_1_1jspiderlibrary2.html">00001</a> <span class="keyword">package </span>com.spider.jspiderlibrary2;
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="keyword">import</span> java.io.IOException;
<a name="l00004"></a>00004 <span class="keyword">import</span> java.net.MalformedURLException;
<a name="l00005"></a>00005 <span class="keyword">import</span> java.net.URL;
<a name="l00006"></a>00006 <span class="keyword">import</span> java.net.URLConnection;
<a name="l00007"></a>00007 <span class="keyword">import</span> java.util.ArrayList;
<a name="l00008"></a>00008 <span class="keyword">import</span> java.util.HashMap;
<a name="l00014"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html">00014</a> <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html">Communicator</a> <span class="keyword">implements</span> <a class="code" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a>, Runnable {
<a name="l00015"></a>00015 
<a name="l00016"></a>00016     <span class="comment">// protected Thread backgroundThread; //El hilo de background para el spider</span>
<a name="l00017"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a77d1d4556b66f56aad5fe9e1afda94d6">00017</a>     <span class="keyword">public</span> <span class="keyword">static</span> String <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a77d1d4556b66f56aad5fe9e1afda94d6">textToCrawl</a>;<span class="comment">// variable usadas para la urls que usa el</span>
<a name="l00018"></a>00018     <span class="comment">//crawler</span>
<a name="l00019"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa0fb097a1e3dd28c5b3595965d0ebcd7">00019</a>     <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa0fb097a1e3dd28c5b3595965d0ebcd7">crawl</a> = <span class="keyword">false</span>;
<a name="l00020"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af0e22c130c8e3180b699325c5258bd83">00020</a>     <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af0e22c130c8e3180b699325c5258bd83">search</a> = <span class="keyword">false</span>;
<a name="l00021"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">00021</a>     <span class="keyword">protected</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html">Spider</a> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>;<span class="comment">//objeto que usamos para crawlear las urls</span>
<a name="l00022"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0101fe504108054c599ff671b035ae7">00022</a>     <span class="keyword">protected</span> URL <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0101fe504108054c599ff671b035ae7">base</a>;<span class="comment">//La url base donde el spider empieza a crawlear</span>
<a name="l00023"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af90a1a8ad937a05d9b6058e669d28ca1">00023</a>     <span class="keyword">protected</span> <span class="keywordtype">int</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af90a1a8ad937a05d9b6058e669d28ca1">badLinksCount</a> = 0;<span class="comment">//cuantos links malos hay en el recorrido</span>
<a name="l00024"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a4d9dc7e33426c4efc3694340240bb568">00024</a>     <span class="keyword">protected</span> <span class="keywordtype">int</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a4d9dc7e33426c4efc3694340240bb568">goodLinksCount</a> = 0;<span class="comment">//Cuantos links buens hay en el recorrido</span>
<a name="l00025"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a0c07a2143b8d612dd3a37f0ea948c458">00025</a>     <span class="keyword">public</span> <span class="keyword">static</span> HashMap <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a0c07a2143b8d612dd3a37f0ea948c458">pages</a>;<span class="comment">//HashMap con todas las urls y su contenido util</span>
<a name="l00026"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af85276b4b0e742776669cd6af974480c">00026</a>     <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af85276b4b0e742776669cd6af974480c">totalLinks</a>;<span class="comment">// variable usadas para la urls que usa el</span>
<a name="l00027"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ae6f31dbdb619cb67252f0c549ea8d81d">00027</a>     <span class="keyword">public</span> <span class="keyword">static</span> ArrayList <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ae6f31dbdb619cb67252f0c549ea8d81d">linksprocessed</a> = <span class="keyword">new</span> ArrayList();
<a name="l00028"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad9dc6cc7afc6f0203c1b5c723cd3cb06">00028</a>     <span class="keyword">public</span> <span class="keyword">static</span> ArrayList <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad9dc6cc7afc6f0203c1b5c723cd3cb06">linkserror</a> = <span class="keyword">new</span> ArrayList();
<a name="l00029"></a>00029 
<a name="l00030"></a>00030     <span class="keyword">private</span> HashMap getHashMapPages() {
<a name="l00031"></a>00031         <span class="keywordflow">return</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#adbf2d01cc0ea713a8c4a8ea9c1cbaf56">getHashMapPages</a>();
<a name="l00032"></a>00032     }
<a name="l00033"></a>00033 
<a name="l00034"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ab18b38c7ec6b8a8909267637649dd83a">00034</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ab18b38c7ec6b8a8909267637649dd83a">run</a>() {
<a name="l00035"></a>00035         <span class="keywordflow">if</span> (<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa0fb097a1e3dd28c5b3595965d0ebcd7">crawl</a>) {
<a name="l00036"></a>00036             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html">Communicator</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af85276b4b0e742776669cd6af974480c">totalLinks</a> = 0;
<a name="l00037"></a>00037             this.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a41dd179b227fe3a5878f0b524d4ad1ad">initSpider</a>();
<a name="l00038"></a>00038             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ae6f31dbdb619cb67252f0c549ea8d81d">linksprocessed</a> = this.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ad9e3dbf06a7d4a976fadc85df5fcf81e">workloadProcessed</a>;
<a name="l00039"></a>00039             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad9dc6cc7afc6f0203c1b5c723cd3cb06">linkserror</a> = this.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aa28c7efd1d89fd2b553833f289946477">workloadError</a>;
<a name="l00040"></a>00040             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a0c07a2143b8d612dd3a37f0ea948c458">pages</a> = getHashMapPages();
<a name="l00041"></a>00041             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa0fb097a1e3dd28c5b3595965d0ebcd7">crawl</a> = <span class="keyword">false</span>;
<a name="l00042"></a>00042 <span class="comment">//            synchronized (this) {</span>
<a name="l00043"></a>00043 <span class="comment">//                try {</span>
<a name="l00044"></a>00044 <span class="comment">//                    this.wait();</span>
<a name="l00045"></a>00045 <span class="comment">//                } catch (InterruptedException ex) {</span>
<a name="l00046"></a>00046 <span class="comment">//                }</span>
<a name="l00047"></a>00047 <span class="comment">//            }</span>
<a name="l00048"></a>00048         }
<a name="l00049"></a>00049     }
<a name="l00050"></a>00050     <span class="comment">/*Metodo que da inicio el spider, crea la url ,</span>
<a name="l00051"></a>00051 <span class="comment">     *verifica que este bien formado si no tira una excepcion</span>
<a name="l00052"></a>00052 <span class="comment">     */</span>
<a name="l00053"></a>00053 
<a name="l00054"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a41dd179b227fe3a5878f0b524d4ad1ad">00054</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a41dd179b227fe3a5878f0b524d4ad1ad">initSpider</a>() {
<a name="l00055"></a>00055         <span class="keywordflow">try</span> {
<a name="l00056"></a>00056             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a> = <span class="keyword">new</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html">Spider</a>(<span class="keyword">this</span>);<span class="comment">// Creo el objeto spider</span>
<a name="l00057"></a>00057             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ae38b2465861c53a4dac6920a32daa2a2">clear</a>();
<a name="l00058"></a>00058             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0101fe504108054c599ff671b035ae7">base</a> = <span class="keyword">new</span> URL(<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a77d1d4556b66f56aad5fe9e1afda94d6">textToCrawl</a>);
<a name="l00059"></a>00059             <span class="comment">//creo la url con el link en forma de string</span>
<a name="l00060"></a>00060             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a6c7061bb6b58bdbe6be1a162cf470c85">addURL</a>(<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0101fe504108054c599ff671b035ae7">base</a>); <span class="comment">//agrego la url como base</span>
<a name="l00061"></a>00061             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0dd6511cd30b7ad8edfd359a21c6cc3">spider</a>.<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#af82be12bad4bc1e88f494645106ac7e0">begin</a>();<span class="comment">//comienza a crawlear</span>
<a name="l00062"></a>00062         } <span class="keywordflow">catch</span> (MalformedURLException e) {
<a name="l00063"></a>00063             System.out.println(<span class="stringliteral">&quot;error communicator2  &quot;</span> + e.toString());
<a name="l00064"></a>00064         }
<a name="l00065"></a>00065     }
<a name="l00066"></a>00066     <span class="comment">/*</span>
<a name="l00067"></a>00067 <span class="comment">     * es llamado por el spyder cuando encuentra la url,</span>
<a name="l00068"></a>00068 <span class="comment">     * verifica si es buena y luego valida si pertene al mismo dominio</span>
<a name="l00069"></a>00069 <span class="comment">     * que la base</span>
<a name="l00070"></a>00070 <span class="comment">     * recibe la base y una url</span>
<a name="l00071"></a>00071 <span class="comment">     * devuelve true si pertence al mismo domnio</span>
<a name="l00072"></a>00072 <span class="comment">     */</span>
<a name="l00073"></a>00073 
<a name="l00074"></a>00074     @Override
<a name="l00075"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a83fbf33e52836a135e944d0bde0cfd27">00075</a>     <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a83fbf33e52836a135e944d0bde0cfd27">spiderFoundURL</a>(URL <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#ad0101fe504108054c599ff671b035ae7">base</a>, URL url) {
<a name="l00076"></a>00076         <span class="keywordflow">if</span> (!<a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa952bce8373401854579773a53fee26a">checkLink</a>(url)) { <span class="comment">//verifica que sea buena la url</span>
<a name="l00077"></a>00077             <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af90a1a8ad937a05d9b6058e669d28ca1">badLinksCount</a>++;
<a name="l00078"></a>00078             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00079"></a>00079         }
<a name="l00080"></a>00080         <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a4d9dc7e33426c4efc3694340240bb568">goodLinksCount</a>++;
<a name="l00081"></a>00081         <span class="keywordflow">if</span> (!url.getHost().equalsIgnoreCase(base.getHost())) <span class="comment">//valida que sea del mismo dominio que la base</span>
<a name="l00082"></a>00082         {
<a name="l00083"></a>00083             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00084"></a>00084         } <span class="keywordflow">else</span> {
<a name="l00085"></a>00085             <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00086"></a>00086         }
<a name="l00087"></a>00087     }
<a name="l00088"></a>00088     <span class="comment">/*</span>
<a name="l00089"></a>00089 <span class="comment">     * Checkea que link sea bueno</span>
<a name="l00090"></a>00090 <span class="comment">     * recibe una url</span>
<a name="l00091"></a>00091 <span class="comment">     * devuelve true si es bueno el link</span>
<a name="l00092"></a>00092 <span class="comment">     */</span>
<a name="l00093"></a>00093 
<a name="l00094"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa952bce8373401854579773a53fee26a">00094</a>     <span class="keyword">protected</span> <span class="keywordtype">boolean</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#aa952bce8373401854579773a53fee26a">checkLink</a>(URL url) {
<a name="l00095"></a>00095         <span class="keywordflow">try</span> {
<a name="l00096"></a>00096             URLConnection connection = url.openConnection();
<a name="l00097"></a>00097             connection.connect();
<a name="l00098"></a>00098             <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00099"></a>00099         } <span class="keywordflow">catch</span> (IOException e) {
<a name="l00100"></a>00100             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00101"></a>00101         }
<a name="l00102"></a>00102     }
<a name="l00103"></a>00103     <span class="comment">/*</span>
<a name="l00104"></a>00104 <span class="comment">     * Es llamado cuando hay un error en el link</span>
<a name="l00105"></a>00105 <span class="comment">     * recibe una url</span>
<a name="l00106"></a>00106 <span class="comment">     */</span>
<a name="l00107"></a>00107 
<a name="l00108"></a>00108     @Override
<a name="l00109"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a18cc8b470895868f1d1fbf564c02e6f2">00109</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a18cc8b470895868f1d1fbf564c02e6f2">spiderFoundURLError</a>(URL url) {
<a name="l00110"></a>00110         <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#af90a1a8ad937a05d9b6058e669d28ca1">badLinksCount</a>++;
<a name="l00111"></a>00111     }
<a name="l00112"></a>00112 
<a name="l00113"></a><a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a4ff84ef1668376cdb43e76f0b376188c">00113</a>     <span class="keyword">public</span> <span class="keyword">static</span> ArrayList <a class="code" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_communicator.html#a4ff84ef1668376cdb43e76f0b376188c">SearchEngineContentToUi</a>(ArrayList&lt;String&gt; listOfLinks) {
<a name="l00114"></a>00114         <span class="keywordflow">return</span> listOfLinks;
<a name="l00115"></a>00115     }
<a name="l00116"></a>00116 }
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Feb 16 2012 02:56:13 for JSpider Library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
